package com.hxht.cmp.module;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.servlet.ModelAndView;

/**
 * @author alice on 2017/9/20 0020.
 * @version 1.0
 * @since 1.0
 */
@Controller
@RequestMapping()
public class DeniedModule {
    @RequestMapping("/denied")
    public
    @ResponseBody
    ModelAndView denied() {
        ModelAndView modelAndView = new ModelAndView();
        modelAndView.setViewName("denied");
        return modelAndView;
    }
}
